package com.flower.utils;

import java.io.Serializable;
import java.util.List;

public class PageResult implements Serializable {
    private Long totalItems;
    private List<?>list;
    public PageResult(){}

    public PageResult(Long totalItems, List<?> list) {
        this.totalItems = totalItems;
        this.list = list;
    }

    public Long getTotalItems() {
        return totalItems;
    }

    public void setTotalItems(Long totalItems) {
        this.totalItems = totalItems;
    }

    public List<?> getList() {
        return list;
    }

    public void setList(List<?> list) {
        this.list = list;
    }
}
